[INFO] cloning repository https://github.com/taha-ahmadi/rust-trade-engine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/taha-ahmadi/rust-trade-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaha-ahmadi%2Frust-trade-engine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaha-ahmadi%2Frust-trade-engine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 41aaec43b29a9a82023dc7b18a44fcfc908924ec
[INFO] checking taha-ahmadi/rust-trade-engine against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaha-ahmadi%2Frust-trade-engine" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/taha-ahmadi/rust-trade-engine
[INFO] finished tweaking git repo https://github.com/taha-ahmadi/rust-trade-engine
[INFO] tweaked toml for git repo https://github.com/taha-ahmadi/rust-trade-engine written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/taha-ahmadi/rust-trade-engine on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/taha-ahmadi/rust-trade-engine already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 31d4047a46db1416773a5a210aecc5393f9cc93a54e113c0d5634463d2cd9248
[INFO] running `Command { std: "docker" "start" "-a" "31d4047a46db1416773a5a210aecc5393f9cc93a54e113c0d5634463d2cd9248", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "31d4047a46db1416773a5a210aecc5393f9cc93a54e113c0d5634463d2cd9248", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31d4047a46db1416773a5a210aecc5393f9cc93a54e113c0d5634463d2cd9248", kill_on_drop: false }`
[INFO] [stdout] 31d4047a46db1416773a5a210aecc5393f9cc93a54e113c0d5634463d2cd9248
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 26dd58c55e4f48eb8b07e95d01f764efd41eaa62d131355921d66d54b0c2e1e8
[INFO] running `Command { std: "docker" "start" "-a" "26dd58c55e4f48eb8b07e95d01f764efd41eaa62d131355921d66d54b0c2e1e8", kill_on_drop: false }`
[INFO] [stderr]     Checking trading-engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let mut market = String::from("BTC/USDT");
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Ask` is never constructed
[INFO] [stdout]   --> src/main.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | enum BidOrAsk {
[INFO] [stdout]    |      -------- variant in this enum
[INFO] [stdout] 26 |     Bid,
[INFO] [stdout] 27 |     Ask,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BidOrAsk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `amount` is never read
[INFO] [stdout]   --> src/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct Order {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 32 |     amount: f64,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Order` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `price` is never read
[INFO] [stdout]   --> src/main.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct Limit {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 47 |     price: Price,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Limit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `market` and `asks` are never read
[INFO] [stdout]   --> src/main.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 65 | struct Orderbook {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 66 |     market: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 67 |     asks: HashMap<Price, Limit>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Orderbook` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let mut market = String::from("BTC/USDT");
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Ask` is never constructed
[INFO] [stdout]   --> src/main.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | enum BidOrAsk {
[INFO] [stdout]    |      -------- variant in this enum
[INFO] [stdout] 26 |     Bid,
[INFO] [stdout] 27 |     Ask,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BidOrAsk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `amount` is never read
[INFO] [stdout]   --> src/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct Order {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 32 |     amount: f64,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Order` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `price` is never read
[INFO] [stdout]   --> src/main.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct Limit {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 47 |     price: Price,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Limit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `market` and `asks` are never read
[INFO] [stdout]   --> src/main.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 65 | struct Orderbook {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 66 |     market: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 67 |     asks: HashMap<Price, Limit>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Orderbook` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.37s
[INFO] running `Command { std: "docker" "inspect" "26dd58c55e4f48eb8b07e95d01f764efd41eaa62d131355921d66d54b0c2e1e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26dd58c55e4f48eb8b07e95d01f764efd41eaa62d131355921d66d54b0c2e1e8", kill_on_drop: false }`
[INFO] [stdout] 26dd58c55e4f48eb8b07e95d01f764efd41eaa62d131355921d66d54b0c2e1e8
